#!/bin/sh
#
# rerun -- remove a docker lab and rerun it
#
# Copyright (C) 2016-2021 Wu Zhangjin <falcon@ruma.tech>
#

TOP_DIR="$(cd "$(dirname "$0")"/../../ && pwd)"
. "$TOP_DIR"/tools/docker/config >/dev/null

log_print "Remove $LAB_NAME"
"$DOCKER_RM_CMD" $LAB_NAME

log_print "Restart $LAB_NAME"
"$DOCKER_RUN_CMD" $LAB_NAME
